package com.ssy.lingxi.platform.template.service.service.web;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.template.service.entity.door.MemberChannel;
import com.ssy.lingxi.platform.template.service.model.dto.common.MemberIdDTO;
import com.ssy.lingxi.platform.template.service.model.dto.web.SaveChannelDTO;
import com.ssy.lingxi.platform.template.service.model.vo.web.MemberChannelMainVO;

import java.util.List;

/**
 * @menu web - 会员渠道门户 - 业务处理层
 * @author fhj
 * @version 2.0.0
 * @date 2020/12/25
 */
public interface MemberChannelWebService {

    Wrapper<Void> saveCurrMemberChannel(SaveChannelDTO dto, UserLoginCacheDTO user);

    Wrapper<MemberChannel> findCurrMemberChannel(UserLoginCacheDTO user);

    Wrapper<MemberChannelMainVO> memberChannelMain(MemberIdDTO dto);

    Wrapper<List<MemberChannel>> all();
}
